package com.atguigu.jxc.dao;

import com.atguigu.jxc.entity.OverflowList;
import com.atguigu.jxc.entity.OverflowListGoods;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @author dxt
 * @create 2025-07-16-21:16
 */
public interface OverflowListGoodsDao {

    /**
     * 添加报溢单商品
     * @param overflowList
     * @param overflowListGoods
     */
    void save(@Param("overflowList") OverflowList overflowList, @Param("overflowListGoods") OverflowListGoods overflowListGoods);

    /**
     * 查询报损单商品
     * @param overflowListId 报溢单Id
     * @return
     */
    List<OverflowListGoods> selectGoodsList(@Param("overflowListId") Integer overflowListId);
}
